/* 
 * File:   keyboardInterpreter.h
 * Author: dana
 *
 * Created on March 6, 2010, 8:03 PM
 */

#ifndef _KEYBOARDINTERPRETER_H 
#define	_KEYBOARDINTERPRETER_H

#include "controller.h"

class keyboardInterpreter {
public:
    keyboardInterpreter();
    void setController( controller* con );
    keyboardInterpreter(const keyboardInterpreter& orig);
    void pollKeysForever();

    virtual ~keyboardInterpreter();
private:
    bool quit;
    void up();
    void down();
    void left();
    void right();
    void jump();
    void attack();
    void eject();
    void pause();
    controller* con;
    
};

#endif	/* _KEYBOARDINTERPRETER_H */

